package com.aplana.ccsd.model;

import info.magnolia.module.templatingkit.dam.Asset;

import com.aplana.ccsd.enums.CertificateType;

public class Certificate {

	private final String title;
	private final CertificateType type;
	private final String URL;

	private Asset image;
	private String comment;

	public Certificate(String title, CertificateType type, String URL) {
		this.title = title;
		this.type = type;
		this.URL = URL;
	}

	public Asset getImage() {
		return image;
	}

	public void setImage(Asset image) {
		this.image = image;
	}

	public String getURL() {
		return URL;
	}

	public String getComment() {
		return comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

	public String getTitle() {
		return title;
	}

	public CertificateType getType() {
		return type;
	}

	@Override
	public String toString() {
		return "Certificate [title=" + title + ", type=" + type + ", URL="
				+ URL + ", image=" + image + ", comment=" + comment + "]";
	}

}
